home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / diskutil / hd_ctrl4.zoo / hd_ctrl4.eng next >
Encoding:
Text File  |  1991-06-22  |  8.1 KB  |  178 lines

  1. Newsgroups: comp.sys.atari.st.tech
  2. Subject: 1.44MB project - the GAL listing + docs !
  3. Summary: posting of docs + jedec files necessary to program GAL16V8 for HD
  4. Keywords: ST HD FLOPPY 1.44MB GAL 16V8
  5. Date: 18 Jun 91 10:47:54 GMT
  6.  
  7. OK, as I got some requests, I am now posting the jedec file + docs for the
  8. GAL 16V8 which contains nearly everything that is necessary to connect
  9. HD-drives to a ST.  A GAL is a programmable logic device which is very
  10. versatile and can be reprogrammed about 100 times.  Here in germany, a GAL
  11. 16V8-25 costs about 2.50 DM (around 1.50 $). It is a small 20-pin device -
  12. so this is a very simple solution if you want to connect HD-drives to your
  13. ST.  It is very versatile because there are nearly no modifications necessary
  14. if you change the type of one drive after building this circuit.  The only
  15. problem is to program the GAL ...
  16.  
  17. I have phoned the author (Gerd Knops) - it may be freely distributed if it is
  18. not used commercially.
  19.  
  20.   In addition to the programmed GAL, you need a WD1772/VLSI1772 which does
  21. work with 16MHz clock.  As there is no real 16 MHz version available, there
  22. are only hints which versions of this chip work with HD and which do not.  It
  23. seems that most WD1772-0002 do not work at 16 MHz (but a few do).  Nearly all
  24. WD1771-0202 do work at 16 MHz, but a few do not.  The VLSI1772 seems to work
  25. in most cases, too, but a bit less often than the WD1772-0202.
  26.  
  27.   The GAL needs a 16MHz-signal which has to be connected to Pin 1 and 2 (see
  28. below).  You can get this signal from the video shifter - but this can cause
  29. trouble if you have a ST with a weird timing or if you have other circuits
  30. already connected to this pin (eg.  a 16MHz-CPU-accelerator).  In this cases,
  31. you should use a new 16MHz-oscillator.  The signal does not have to be in
  32. phase with the system clock - you can simply connect any 16MHz crystal
  33. oscillator here.  16MHz crystal oscillators are available as a complete unit
  34. the size of a 14-pin IC (but actually only with 4 pins).
  35.  
  36.  
  37. The following is a rough translation of the file HD_CTRL.TXT:
  38. ===============================================================================
  39. WARNING: in order to understand this, it is recommended that you know the
  40. contents of the article 'Ganz schoen dicht' from the german magazine
  41. 'ST-Computer', 1/1990, page 28.
  42.  
  43. Short description of GAL 16V8 'HD_CTRL:
  44. ---------------------------------------
  45.  
  46. The GAL does the following:
  47.  
  48. - Buffering of critical signals (side select, drive select)
  49. - It generates the drive delect signal for a third floppy drive
  50. - It generates the high-density-signal for normal drives
  51. - It divides the crystal frequency. The 16/8 MHz clock is generated under
  52.   control of the high-density signal.
  53.  
  54. Tha GAL can be used to connect either normal or HD 3.5"-drives as drives 0/1
  55. and a 5 1/4"-drive as drive 2. This drive can be used as drive 1 (= B:)
  56.  
  57.  
  58. Pinout of GAL 16V8 'HD_CTRL'
  59. ----------------------------
  60.  
  61. PIN 1,2:        In      16 MHz clock-signal (from video shifter oder better
  62.                                              from independant crystal osc.)
  63.  
  64. Pin 3:          In      SideSelect       -- from ST (AY-3-8910)
  65. Pin 4:          In      Drive Select 0   -- from ST (AY-3-8910)
  66. Pin 5:          In      Drive Select 1   -- from ST (AY-3-8910)
  67.  
  68. Pin 6:          In      B=Drive Select 2
  69.                         If this pin is connected to +5V, the output drive
  70.                         select 2 is used instead of drive select 1.
  71.                         This pin can be controlled via a simple switch or by
  72.                         connecting it to a ST port (eg.  RTS from the MIDI-ACIA,
  73.                         pin 5, which is usually unused and which is LOW after a
  74.                         reset).
  75.                         If you do not have a second 3.5"-drive, but a 5 1/4"-
  76.                         drive, you should connect this pin directly to +5V.
  77.  
  78. Pin 7:          In      High: Drive 2 = Low Density
  79.                         If a 5.25"-drive is used as drive 2, this pin selects
  80.                         whether the drive is in HD or 2D mode. It can be
  81.                         controlled via a switch or by connecting it to a ST
  82.                         port (eg. RTS of the KEYBOARD-ACIA, pin 5, which is
  83.                         usually unused and which is LOW after a RESET.
  84.  
  85. Pin 8:          In      High: Drive 1 = Low Density    These two lines are
  86. Pin 9:          In      High: Drive 0 = Low Density    connected to 0 or 1
  87.                                                    depending on the drives.
  88.                                                    If the drive is an original
  89.                                                    2D drive, the corres-
  90.                                                    ponding pin is connected
  91.                                                    to +5V. If the drive is a
  92.                                                    HD-drive, the pin is con-
  93.                                                    nected to GND.
  94.  
  95. Pin 10:                 GND
  96.  
  97. Pin 11:         In      /OE, connect directly to GND
  98.  
  99. Pin 12:         Out     Clock
  100.                         This pin delivers the 8/16 MHz clock for the floppy
  101.                         controller. Connect this to pin 18 of the 1772
  102.  
  103. Pin 13:         ---     used internally, leave open
  104.  
  105. Pin 14:         Out     Drive Select 2                    * to drive-bus
  106. Pin 15:         Out     Drive Select 1                    * to drive-bus
  107. Pin 16:         Out     Drive Select 0                    * to drive-bus
  108. Pin 17:         Out     Side Select                       * to drive-bus
  109. Pin 18:         Out/In  High Density (Pin 2 Shugart Bus)  * to/from drive-bus
  110.  
  111. Pin 19:         Out     8 MHz, is used internally, leave open
  112.  
  113. Pin 20:                 Vcc +5V
  114.  
  115.  
  116. Connect Pin 1 and 2 to the 16MHz-signal.
  117.  
  118. Cut the side select and the two drive select lines from the soundchip and
  119. connect them to the GAL (pins 3-5).
  120.  
  121. Connect pins 6 and 7 to switches or to the ACIAs.
  122.  
  123. WARNING: On most ST pcb's, the RTS-outputs of both ACIAs are connected to each
  124. other. This connection makes absolutely no sense and MUST be cut if you want
  125. to use one or both ACIA outputs.
  126.  
  127. Connect pins 8 and 9 to +5V or to GND, depending on drive types.
  128.  
  129. Connect pins 10 and 11 to GND, pin 20 to +5V
  130.  
  131. Cut the connection between the clock pin of the 1772 (pin 18) and the rest of
  132. the ST. Connect pin 18 of the 1772 to pin 12 of the GAL.
  133.  
  134. Connect pin 14-18 of the GAL to the shugart-bus (drives):
  135.  
  136. GAL  Shugart
  137. 18       2
  138. 17      32
  139. 16      10
  140. 15      12
  141. 14      14
  142.  
  143. ready.
  144.  
  145. If you have questions:
  146.        Gerd Knops, Rosenstrae 77a, 4154 Tnisvorst 1, Germany
  147.        Telephone: 02151-700522   or   Mausnet: Gerd Knops @ Ms
  148.  
  149. Programmed GALs and circuit schematics are available at the author by
  150. sending 10DM and a stamped, self-addressed envelope
  151. (I do not know if he will ship them outside germany - MS)
  152.  
  153. ANY COMMERCIAL USE MUST BE AUTHORIZED BY THE AUTHOR!
  154. ===============================================================================
  155.  
  156. NOTE: If you have an TT, this circuit is not needed, because it is already
  157. build-in! All you have to do is connect a HD-drive and set configuration
  158. switch 8 on the TT board to 'ON'. You can then select 'HD' in the format
  159. dialog box. However, this requires TT-TOS 3.05 - there is a bug in 3.01 which
  160. disables the button.
  161.  
  162.  
  163. I hope this helps.  I have added some text at different points of the
  164. description, so it might be a bit easier to understand if you do not know the
  165. original german article.  I have tried to be accurate, but I can not
  166. guarantee that everything is correct.
  167. YOU DO ALL MODIFICATIONS TO THE ST AT YOUR OWN RISK!
  168.  
  169. ===============================================================================
  170. ! Michael Schwingen, Ahornstrasse 36, W-5100 Aachen, Germany                  !
  171. ! michaels%cip-s01.informatik.rwth-aachen.de@unido.bitnet       (preferred)   !
  172. ! michaels@cip-s01.informatik.rwth-aachen.de                                  !
  173. ! (if 'cip-s01' does not work, try 'cip-s02' or 'messua' instead)             !
  174. -------------------------------------------------------------------------------
  175. ! PLEASE KEEP MAIL FROM OUTSIDE GERMANY SHORT-I HAVE TO PAY FOR INCOMING MAIL !
  176. ===============================================================================
  177.  
  178.